package com.monitor.task.email;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @ClassName EmailInfo
 * @Package com.monitor.task.email
 * @Description 发送邮件对象
 * @Author zhixingbai
 * @Create 2018/10/1211:16
 */
@Component
@PropertySource(value = "classpath:email.properties")
@ConfigurationProperties(prefix = "email")
@Data
public class EmailInfo {

    /**
     * 主体
     */
    private String subject;

    /**
     * email url
     */
    private String url;


}
